package com.my_orm.transaction;

import com.my_orm.datasource.PoolDataSource;
import org.omg.CORBA.PUBLIC_MEMBER;

/**
 * @Author 1210357826@qq.com
 * @Desc 事务工厂
 **/
public class TransactionFactory {

    public static SimpleTransaction newTransaction(PoolDataSource poolDataSource, Integer level, Boolean autoCommmit){
        return new SimpleTransaction(poolDataSource,level,autoCommmit);
    }

}